@import "constants";
@import "sidebar";
@import "window_control";

body{
    background-color: #f2f2f2;
}

.main{
    width: 100%;
    margin-top: $navHeight + 20px;

    .wrapper{
        width: $pageWidth;
        margin: 0 auto;

        .container-wrapper {
            //如果里面的子盒子都浮动了，让外面的盒子可以获取到真实的高度
            overflow: hidden;

            //版心主要内容
            .main-wrapper {
                float: left;
                width: $mainBoxWidth;
            }

            //版心右边侧边栏
            .sidebar-wrapper {
                float: right;
                width: $sideBarWidth;
                //height: 500px;
                background-color: white;
            }
        }
    }
}
